export const PageSize = 20;

export const PcMenuCategory = 'PAC';
export const AppMenuCategory = 'APP';

export const RootId = '00000000000000000000000000000000';

export const AttachSuccess = 1;

export const AttachFail = 0;

export const FormSlideWidth = 640;

export const FromApp = 'PAC';

export const SupportService = 'support';

export const AffairService = 'affair';

export const SyncService = 'sync';

export const MidTableTipText = '请在左侧组织树选择您要查看的数据';

export const RtSideTipText = '请选择一条数据';

export const NoLoginCode = '000001';

export const OtherLoginCode = '000002';

export const Pattern = {
  Mobile: /^[1][3,4,5,7,8][0-9]{9}$/,
  Phone: /^(\(\d{3,4}\)|\d{3,4}-|\s)?\d{7,14}$/,
  IdCard: /(^\d{8}(0\d|10|11|12)([0-2]\d|30|31)\d{3}$)|(^\d{6}(18|19|20)\d{2}(0[1-9]|10|11|12)([0-2]\d|30|31)\d{3}(\d|X|x)$)/,
  Email: /^[A-Za-zd0-9]+([-_.][A-Za-zd]+)*@([A-Za-zd]+[-.])+[A-Za-zd]{2,5}$/,
  Number: /^[0-9]*$/
};

//组织选择框 limitRange
export const InProvince = '03500000000000000000000000000000';
export const OtherProvince = '99999999999999999999999999999999';
